package cn.usian.order.fegin;

import cn.usian.order.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 06 05 17 36
 **/
@FeignClient("user-service")
public interface UserFegin {
    @RequestMapping("/v1/api/user/getUserById")
    public User getUserById(@RequestParam("id")Integer id);
}
